<template>
  <div class="secondPlatWrapHeader">
    合肥市排水信息化管控平台
    <div class="secondPlatWrapHeaderSearch">
      <ul>
        <li><img src="../../assets/images/secondPlat/search.png" class="search" alt=""></li>
        <li><input type="text" class="searchCon" v-model="value" placeholder="请输入区域、道路名称、积水点···"></li>
        <li @click="doSearch"><img src="../../assets/images/secondPlat/enter.png" alt="" class="enter"></li>
      </ul>
    </div>
  </div>
</template>
<script>
  export default {
    data:function () {
      return {value:""}
    },
    methods:{
      doSearch:function () {
        this.$emit("search",this.value);
      }
    }
  }
</script>
